HighContrast: Fix shadow size
authorMatthias Clasen <mclasen@redhat.com>
Sat, 14 Nov 2015 23:05:06 +0000 (18:05 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 14 Nov 2015 23:05:06 +0000 (18:05 -0500)
Ensure that the shadow extents don't change as we go to backdrop,
to prevent windows from jumping.

gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk.css

index 1c5cc5910569ff818defa5bdd5319a6a3aeb25a8..d17f8b013068500a03f5ef770db50c32295b7b94 100644 (file)
@@ -2462,6 +2462,7 @@ decoration {
 
   &:backdrop {
     box-shadow: 0 2px 6px 2px transparentize(black, 0.8),
+                0 3px 9px 1px transparent,
                 0 0 0 1px $_wm_border_backdrop;
   }
   &.tiled {
index d2a83b9e4f17bb333af3d58bb798abc875db6a9b..9deffdc5d57da0804ad10db1b7a3d0f2aa368e3a 100644 (file)
@@ -2739,7 +2739,7 @@ decoration {
   /* this is used for the resize cursor area */
   margin: 10px; }
   decoration:backdrop {
-    box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.18); }
+    box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 3px 9px 1px transparent, 0 0 0 1px rgba(0, 0, 0, 0.18); }
   decoration.tiled {
     border-radius: 0; }
   decoration.csd.popup {